<div class="layui-card-body">
    <form class="layui-form" action="{:url()}" style="width: 700px;height: 500px;" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">选择对应角色</label>
            <div class="layui-input-block">
                <select name="group_id" lay-search>
                    <volist name="group_list" id="vo" key="k">
                        <option value="{$vo.id}" selected="selected"> {$vo.title} </option>
                    </volist>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">标签</label>
            <div class="layui-input-block">
                <input type="text" name="name" value="{$info.name|default=''}" class="layui-input" autocomplete="off">
            </div>
        </div>

        <input type="hidden" name="id" value="{$info.id|default=''}">
    </form>

</div>
<script type="text/javascript">
    layui.use(['form', 'layer', 'formSelects', 'upload'], function () {
        var form = layui.form
            , formSelects = layui.formSelects
            , $ = layui.$
            , upload = layui.upload;

    });
</script>






